<template>
	<view class="pest-wiki">
		<view class="third-col">
			<text class="tit">病害</text>
			<view class="list rbox_wrap">
				<view class="item cbox" v-for="(item, idx) in sList" :key="idx">
					<view class="img-wrap"></view>
					<text class="name ellips">{{item.name}}</text>
				</view>
			</view>
		</view>
		
		<view class="two-col">
			<view class="head rbox box_y_center box_space_b">
			  <text class="tit">病害</text>
				<view class="more rbox box_y_center">
					<text>更多</text>
					<view class="iconfont icon-arrow-right"></view>
				</view>
			</view>
			
			<two-col-list :list="tList" pageName="catesList" />
		</view>
	</view>
</template>

<script>
	import { twoColList } from '@/components/two-col-list.vue'
	export default {
		data() {
			return {
				sList: [
					{img: '', name: '真菌类', sub: '病原为葡萄单轴霜霉'},
					{img: '', name: '细菌类', sub: '病原为葡萄单轴霜霉'},
					{img: '', name: '病毒类', sub: '病原为葡萄单轴霜霉'}
				],
				tList: [
					{img: '', name: '真菌类', sub: '病原为葡萄单轴霜霉'},
					{img: '', name: '细菌类', sub: '病原为葡萄单轴霜霉'}
				]
			}
		},
		components: {
			twoColList
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.pest-wiki {
		.third-col {
			margin-top: 30rpx;
			padding: 0 42rpx;
			.tit {
				font-size: 40rpx;
				line-height: 1;
				color: #333;
			}
			.list {
				margin-top: 20rpx;
				.item {
					margin-right: 20rpx;
					margin-bottom: 20rpx;
					&:nth-of-type(3n) {
						margin-right: 0;
					}
					.img-wrap {
						width: 208rpx;
						height: 270rpx;
						background: #DBC2C2;
						border-radius: 20rpx;
					}
					.name {
						margin-top: 20rpx;
						font-size: 28rpx;
						line-height: 1;
						color: #656565;
					}
				}
			}
		}
		
		.two-col {
			margin-top: 60rpx;
			.head {
			  padding: 0 42rpx;
				.tit {
					font-size: 40rpx;
					line-height: 1;
					color: #333;
				}
				.more {
					text {
						font-size: 22rpx;
						color: #B4B4B4;
					}
					.iconfont {
						font-size: 22rpx;
						color: #B4B4B4;
					}
				}
			}
			
		}
	}
</style>
